home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1998 August / macformat-066.iso / How-to's / Foreign Files / Creator Changer 2.8.4 / Code & Resource / Creator Changer.start.h < prev   
Encoding:
C/C++ Source or Header  |  1997-06-29  |  1.3 KB  |  43 lines  |  [TEXT/KAHL]

  1. #include    "Events.h"
  2. #include    "AppleEvents.h"
  3. #include    "Sound.h"
  4.  
  5. #define    Escape_Key            0x1B
  6. #define    Return_Key            0x0D
  7. #define    Enter_Key            0x03
  8.  
  9. void                        Handle_One_Event(void);
  10. void                        Handle_Dialog_Event(EventRecord *);
  11. void                        Handle_Mouse_Down(EventRecord *);
  12. Boolean                        Handle_Menu_Choice(long);
  13. Boolean                     Is_Pressed(unsigned short);
  14. void                        Do_Dialog_Null_Event(EventRecord *);
  15. Boolean                        Dialog_Event_Loop(EventRecord *);
  16. Boolean                        Check_Edit_Box(DialogRef);
  17. void                        Handle_Key_Down(EventRecord *);
  18. void                         Do_DLOG_Cmd_Key(DialogRef, char);
  19. void                        Handle_Apple_Choice(short);
  20. void                        Handle_File_Choice(short);
  21. void                        Handle_Edit_Choice(short);
  22. static void                    Handle_Key_Pressed(DialogRef, short);
  23.  
  24. Boolean                        All_Done;
  25. Boolean                        Option_Key_Down;
  26. Boolean                        In_Background;
  27. long                        Sleep_Ticks;
  28. FInfo                        File_Info;
  29. FSSpec                        The_File_Spec;
  30.  
  31. extern    Boolean                Prefs_Opened;
  32. extern    Handle                Menu_Handle;
  33. extern    short                Multiple_Files;
  34. extern    short                PT_Item_To_Edit;
  35. extern    short                AC_Item_To_Edit;
  36. extern    long                    one_file;
  37. extern    Dialog_Info            Chng, Edit, Auto, About, Pref;
  38. extern    MenuHandle            Apple_Menu;
  39. extern    MenuHandle            File_Menu;
  40. extern    MenuHandle            Edit_Menu;
  41. extern    DialogRef            Front_Dialog;
  42. extern    global_prefs        **Global;
  43.